package androidx.appcompat.app;

import android.app.Dialog;
import android.os.Bundle;
import androidx.annotation.RestrictTo;
import androidx.annotation.RestrictTo.d;
import androidx.fragment.app.DialogFragment;
import o.ag;

public class AppCompatDialogFragment extends DialogFragment {
    public Dialog ˎ(Bundle bundle) {
        return new ag(ॱˊ(), ॱ());
    }

    @RestrictTo({d.LIBRARY_GROUP})
    public void ˏ(Dialog dialog, int i) {
        if (dialog instanceof ag) {
            ag agVar = (ag) dialog;
            switch (i) {
                case 1:
                case 2:
                    break;
                case 3:
                    dialog.getWindow().addFlags(24);
                    break;
                default:
                    return;
            }
            agVar.ˎ(1);
            return;
        }
        super.ˏ(dialog, i);
    }
}
